package com.ftg.learn.mall.service.impl;

import com.ftg.learn.mall.entity.PmsFeightTemplate;
import com.ftg.learn.mall.mapper.PmsFeightTemplateMapper;
import com.ftg.learn.mall.service.IPmsFeightTemplateService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 运费模版 服务实现类
 * </p>
 *
 * @author mallCommon
 * @since 2022-04-19
 */
@Service
public class PmsFeightTemplateServiceImpl extends ServiceImpl<PmsFeightTemplateMapper, PmsFeightTemplate> implements IPmsFeightTemplateService {

    @Resource
    PmsFeightTemplateMapper mapper;

    public List<PmsFeightTemplate> findAllFeightTempalte(){
        return mapper.findAllFeightTempalte();
    }
}
